﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DuiBa.Models
{
    /// <summary>
    /// 违规查询响应
    /// </summary>
    public class OffendingQueryResponse
    {
        /// <summary>
        /// 查询的结果，查询成功返回true，失败返回false
        /// </summary>
        public bool Success { get; set; }
        /// <summary>
        /// 出错原因,非必填
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 用户注册时间，格式：2015-04-01 10:00:00
        /// </summary>
        public string Create_Date { get; set; }
        /// <summary>
        /// 该用户最新的至多30条积分增加记录
        /// </summary>
        List<OffendingQueryRecord> Add_Records { get; set; }

    }
    public class OffendingQueryRecord
    {
        /// <summary>
        /// 获取积分数值
        /// </summary>
        public int Credits { get; set; }
        /// <summary>
        /// 获取积分原因
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 获取积分时间，格式：2015-04-01 10:00:00
        /// </summary>
        public string Time { get; set; }
    }
}
